import request from '@/utils/request';

export async function getInspectionItemValueByPage (params: any) {
    return request('/api/quality/getInspectionItemValueByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addInspectionItemValue (params: any) {
    return request('/api/quality/addInspectionItemValue', {
    method: 'POST',
    data: params,
  });
}

export async function updateInspectionItemValue (params: any) {
    return request('/api/quality/updateInspectionItemValue', {
    method: 'POST',
    data: params,
  });
}

export async function delInspectionItemValue (params: any) {
    return request('/api/quality/delInspectionItemValue', {
    method: 'POST',
    data: params,
  });
}


export async function exportInspectionItemValue(params: any) {
    return request('/api/quality/exportInspectionItemValue', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getInspectionItemValueByPage, addInspectionItemValue, updateInspectionItemValue, delInspectionItemValue, exportInspectionItemValue }
